CTimeSpan::operator =
const CTimeSpan& operator =( const CTimeSpan& timeSpanSrc );
说明:
这些重载的赋值操作符将源CTimeSpan timeSpanSrc对象拷贝到此CTimeSpan对象中。
示例:
// CTimeSpan::operator =示例:
CTimeSpan ts1;
CTimeSpan ts2( 3, 1, 5, 12 ); // 3 days, 1 hour, 5 min, and 12 sec
ts1 = ts2;
ASSERT( ts1 == ts2 );
请参阅:CTimeSpan::CTimeSpan